import { configureStore } from '@reduxjs/toolkit';
import couterSliceReducer from './couterSlice';
import doctorSliceReducer from './doctorSlice';
export const store = configureStore({
  // 进行reducer的合并
  reducer: {
   counter: couterSliceReducer , // state.counter.value 获取 couterSlice中的状态的值。
   doctors: doctorSliceReducer,
  },
});
